package aconcagua.measure

class InvalidIntervalException extends Exception {
	private start;
	private stop;
	private step;
	
	public InvalidIntervalException(aStart, aStop, aStep) {
		super("An interval cannot be created from ${aStart} to ${aStop} with an increase of ${aStep}");
		start = aStart;
		stop = aStop;
		step = aStep;
	}
	
	public start() {
		return start;
	}
	
	public stop() {
		return stop;
	}
	
	public step() {
		return step;
	}
}
